﻿using System.Web.Mvc;
using Nop.Web.Framework;
using Nop.Web.Framework.Mvc;
using System.Collections.Generic;

namespace Spotshub.Plugin.Payments.GlobalPayments.Models
{
    public partial class ConfigurationModel : BaseNopModel
    {
        //+string+
        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.TestUrl")]
        public string TestUrl { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.EnableDebug")]
        public bool EnableDebug { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.EnableLog")]
        public bool EnableLog { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.EnableSandbox")]
        public bool EnableSandbox { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.AdditionalFee")]
        public decimal AdditionalFee { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.AdditionalFeePercentage")]
        public bool AdditionalFeePercentage { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.FormUrl")]
        public string FormUrl { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.DirectServiceUrl")]
        public string DirectServiceUrl { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.AllowedTypes")]
        public string AllowedTypes { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.AuthorizeEndpoint")]
        public string AuthorizeEndpoint { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.QueryEndpoint")]
        public string QueryEndpoint { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.UIdEndpoint")]
        public string UIdEndpoint { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.CallbackUrl")]
        public string CallbackUrl { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.CssUrl")]
        public string CssUrl { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.SandboxDirectServiceUrl")]
        public string SandboxDirectServiceUrl { get; set; }
        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.SandboxFormUrl")]
        public string SandboxFormUrl { get; set; }
        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.SandboxAPIToken")]
        public string SandboxAPIToken { get; set; }
        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.SandboxProfileId")]
        public string SandboxProfileId { get; set; }

        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.LogisticsCssUrl")]
        public string LogisticsCssUrl { get; set; }
        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.LogisticsCallbackUrl")]
        public string LogisticsCallbackUrl { get; set; }
        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.CommerceCssUrl")]
        public string CommerceCssUrl { get; set; }
        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.CommerceCallbackUrl")]
        public string CommerceCallbackUrl { get; set; }
        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.AppCssUrl")]
        public string AppCssUrl { get; set; }
        [NopResourceDisplayName("Plugins.Payments.GlobalPayments.Fields.AppCallbackUrl")]
        public string AppCallbackUrl { get; set; }
        public int CodeVersion { get; set; }

        public IList<ProfileModel> Profiles { get; set; }
    }
}   